import Vue from "vue";
import App from "./App.vue";
// import App from "./views/01.vue";
// 5.2 导入路由实例
import router from "./router";
// 🔔 完整引入 Element 组件库
import ElementUI from "element-ui";
import "element-ui/lib/theme-chalk/index.css";
Vue.use(ElementUI);

import "./styles/reset.less";
import "./styles/index.less";

// 引入封装的过滤器文件
import "./filters/index";

Vue.config.productionTip = false;

new Vue({
  // 6. 把路由实例添加到 Vue 中
  router: router,
  render: (h) => h(App),
}).$mount("#app");
